package com.cloud.pole.shop.model.entity.goods;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 
 */
@Table(name="shop_goods_promotion_type")
@Data
public class ShopGoodsPromotionType implements Serializable {
    /**
     * 推荐位置ID
     */
    @Id
    @Column(name="promotion_type")
    private String promotionType;

    /**
     * 类型名称
     */
    @NotEmpty
    @Column(name="type_name")
    private String typeName;

    /**
     * 状态（1：有效 0：无效）
     */
    @NotEmpty
    @Column(name="type_status")
    private Integer typeStatus;

    /**
     * 创建时间
     */
    @Column(name="create_time")
    private Date createTime;

    /**
     * 说明
     */
    @Column(name="type_desc")
    private String typeDesc;

    private static final long serialVersionUID = 1L;
}